import '../styles/MyEntry.scss'

import React, { Component } from 'react';
import pic2 from '../assets/pic2.jpg'
class MyEntry extends Component {
    constructor() {
        super()
        this.state = {
            list : [{ pic2, name: '护肤' }, { pic2, name: '彩妆' }, { pic2, name: '香氛' }, { pic2, name: '进口酒' }, { pic2, name: '国产酒' }, { pic2, name: '精品奢货' }, { pic2, name: '食品百货' }, { pic2, name: '母婴专区' }, { pic2, name: '直播专区' }, { pic2, name: '特卖专场' }]
        }
    }
    render() {
        return (
            <div className='entry'>
                {this.state.list.map((item, index) => {
                    return (
                        <div className="box" key={index}>
                            <img src={pic2} alt="" />
                            <h3>{item.name}</h3>
                        </div>
                    )
                })
                }
            </div>
        );
    }
}

export default MyEntry;